import 'flutter_restart_app_platform_interface.dart';

class RestartApp {
  Future<String?> getPlatformVersion() {
    return FlutterRestartAppPlatform.instance.getPlatformVersion();
  }

  /// 重新启动应用程序
  static Future<bool> restartApp() async {
    return FlutterRestartAppPlatform.instance.restartApp();
  }
}
